import React, { useEffect } from 'react';
import { observer } from 'mobx-react';
import Table from './Table';
import Form from './Form';
import store from './store';
import {Card} from "antd";

export default observer(function () {
  useEffect(() => {
    // store.fetchRecords()
  }, [])

  return (
    <React.Fragment>
      <Card bordered={false} style={{minHeight: '100%'}}>
        欢迎使用！部分功能开发中，敬请期待！
      </Card>
      {/*<Table />*/}
      {/*{store.formVisible && <Form />}*/}
    </React.Fragment>
  )
})